#include <iostream>
#include <fstream>
#include <cstdlib>
using namespace std;
string* versionlist;
int main(int argv,char **argc){
	if(argv!=0){
		if(argc[1]=="-v"||argc[1]=="--version"){
			ifstream fin("qdqversion.txt");
			string s;
			fin >> s;
			cout << s;
    	}
	}
	else{
		ifstream fin("version.txt");
		int n;
		fin >> n;
		versionlist=(string*)(malloc(n*sizeof(string)));
		for(int i=0;i<n;i++){
			fin >> versionlist[i];
		}
	}
	return 0;
}
